package com.se2.antiqueexhibition.Mapper;

import com.se2.antiqueexhibition.pojo.CulturalRelic;
import com.se2.antiqueexhibition.pojo.RelicCategory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CollectionMapper {

    void addCollection(int userId,int id);
    void cancelCollection(int userId,int id);
    List<CulturalRelic> showCollection(int userId);
    List<Integer> getCollectionIdsByUserId(int userId);
}
